package com.plant.order.mapper;

import com.plant.order.domain.GoodsOrder;
import com.plant.order.domain.Order;
import com.plant.order.vo.GoodsVo;
import com.plant.order.vo.OrderEntity;

import java.util.List;


public interface OrderMapper {


    List<Order> findOrder(String orderId);


    List<GoodsVo>  findAllOrder(Integer userId);

    GoodsVo findById(Integer id);

    List<GoodsVo> findByOrderStatus(Integer orderStatus,Integer userId);


    List<OrderEntity> findAllOrderTime(Integer  userId);

    List<GoodsVo> findAll();

    int updateOrder(GoodsOrder goodsOrder);

    List<GoodsVo> findAllStatus();

    int updateOrder(GoodsVo goodsVo);


}
